﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ESOL.Common.Entity;
using Suzsoft.Smart.Data;

namespace ESOL.Business
{
    public class ProdCommonFunctions
    {
        public static ProdMrpQtyEntity GetMRPbyId(string productId)
        {
            if (string.IsNullOrEmpty(productId))
            {
                return null;
            }
            ProdMrpQtyEntity entity = new ProdMrpQtyEntity();
            entity.ProductId = productId;
            return DataAccess.SelectSingle<ProdMrpQtyEntity>(entity);
        }
    }
}
